package com.middlegroup.payadmin.pojo.po;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.middlegroup.common.mybatisplus.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 出款订单表
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@TableName("t_out_bills")
public class OutBills  extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 商户ID
     */
    @TableField("merchant_id")
    private Long merchantId;
    /**
     * 商户订单表
     */
    @TableField("merchant_bill_no")
    private String merchantBillNo;
    /**
     * 中台传给上游渠道的商户订单号
     */
    @TableField("bill_no")
    private String billNo;
    /**
     * 上游渠道返回的交易流水
     */
    @TableField("trans_no")
    private String transNo;
    /**
     * 通道编码
     */
    @TableField("channel_code")
    private String channelCode;
    /**
     * 订单状态
            0：处理中
            1：成功
            2：失败
            3：超时（建议与0合并）
     */
    private Integer status;
    /**
     * 订单金额
     */
    private BigDecimal amount;
    /**
     * 用户姓名加密后
     */
    private String name;
    /**
     * 身份证加密后
     */
    @TableField("id_card")
    private String idCard;
    /**
     * 银行预留手机号加密后
     */
    private String phone;
    /**
     * 交易卡号加密后
     */
    @TableField("card_no")
    private String cardNo;
    /**
     * 用户姓名掩码
     */
    @TableField("name_mask")
    private String nameMask;
    /**
     * 用户身份证掩码
     */
    @TableField("id_card_mask")
    private String idCardMask;
    /**
     * 银行预留手机号掩码
     */
    @TableField("phone_mask")
    private String phoneMask;
    /**
     * 交易卡号掩码
     */
    @TableField("card_no_mask")
    private String cardNoMask;



    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantBillNo() {
        return merchantBillNo;
    }

    public void setMerchantBillNo(String merchantBillNo) {
        this.merchantBillNo = merchantBillNo;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getTransNo() {
        return transNo;
    }

    public void setTransNo(String transNo) {
        this.transNo = transNo;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getNameMask() {
        return nameMask;
    }

    public void setNameMask(String nameMask) {
        this.nameMask = nameMask;
    }

    public String getIdCardMask() {
        return idCardMask;
    }

    public void setIdCardMask(String idCardMask) {
        this.idCardMask = idCardMask;
    }

    public String getPhoneMask() {
        return phoneMask;
    }

    public void setPhoneMask(String phoneMask) {
        this.phoneMask = phoneMask;
    }

    public String getCardNoMask() {
        return cardNoMask;
    }

    public void setCardNoMask(String cardNoMask) {
        this.cardNoMask = cardNoMask;
    }


}
